Action

public final class Action extends AsyncCallbackAction<R>

An action providing a response to the SelectColorCallback.

Constructors

Link copied to clipboard
public void SelectColorCallback.Action(Consumer<SelectColor.Response> consumer)

Functions

Link copied to clipboard
public void cancel()
Notifies the browser that the user has canceled color selection.
Link copied to clipboard
public final boolean isClosed()
Returns true if this action is closed.
Link copied to clipboard
public void select(Color color)
Notifies the browser that the user has selected a color.
Link copied to clipboard
public void showDialog()
Tells the browser to display a color picker.